<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>母版</title>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/>
</head>
<style>
*{
    padding: 0;
    margin: 0;
}
.title{
    text-align: center;
}
#div-bar{
    position:absolute;
    margin-top: 45px;
}
#bar li{
    width: 105px;
    height: 40px;
    margin-top: 25px;
    line-height: 40px;
    text-align: center;
    list-style: none;
}
#bar li:hover{
    background-color: rgb(93, 213, 200);
}
#bar li a{
    color: black;
    text-decoration: none;
}
#father{
    width: 1250px;
    height: 100%;
    position: absolute;
    margin-left: 105px;
    border: 1px ;
    border-left:2px solid rgb(241, 241, 241);
}
#son{
    background-color: rgb(251, 251, 251);
    height: 200%;
}
#son form{
    padding-top: 10px;
    padding-left: 20px;
    float:left;
}
#anniu{
    background-color:  rgb(93, 213, 200);
    height: 30px;
    width: 50px;
    border-radius: 5px;
}
#son form input{
    height: 30px;
    border-radius: 5px;
}
#son form select{
    border-radius: 5px;
    height: 20px;
    margin-left: 5px;
}
#zi {
    position: absolute;
    margin-left: 120px;
    margin-top: 120px;
}
</style>
<body>
<div id="div-bar">
<ul id="bar">
    <li><a href="http://127.0.0.1:8000/index1/shop">商品管理</a> </li>
    <li><a href="http://127.0.0.1:8000/index1/stock">库存管理</a></li>
    <li><a href="http://127.0.0.1:8000/index1/sales">销售数据</a></li>
    <li><a href="http://127.0.0.1:8000/index1/color">颜色数据</a> </li>
    <li><a href="http://127.0.0.1:8000/index1/size">尺码数据</a></li>
    <li><a href="http://127.0.0.1:8000/index1/new_shop">新品追踪</a> </li>
    <li><a href="http://127.0.0.1:8000/index1/yonghu">用户管理</a></li>
</ul>
</div>
<div id="father">
    <div style="border-bottom:2px solid rgb(241, 241, 241);height: 50px">
    <h1 class="title">销量分析</h1>
    </div>
    <div id="son">
         {% block sosuo %}

        {% endblock %}
            <form method="POST">
            {% csrf_token %}
            重要商品
            <select name="choice">
                <option>是</option>
                <option>否</option>
            </select>
            分类
            <select name="class">
                <option value="全部">全部</option>
                <option value="短袖T">短袖T</option>  <!-- T恤 -->
                <option value="长裤">长裤</option>
                <option value="衬衫">衬衫</option>
                <option value="外套">外套</option>
                <option value="卫衣">卫衣</option>
            </select>
            {% block color %}
        {% endblock %}
            <input type="submit" value="提交任务">
        </form>
    </div>
</div>
<div id="zi">
        {% block shop %}

        {% endblock %}
</div>
</body>
</html>